package com.cjack.frenchexcel.util;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class RegUtil {

    public static String extractContent( String content, String reg) {
        Pattern pattern = Pattern.compile( reg);
        Matcher m = pattern.matcher( content);
        String str = "";
        if ( m.find()) {
            str = m.group(1);
        }
        return str;
    }

}
